aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[lang=lang]/+page.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/[lang=lang]/+page.svelte')
-rw-r--r--src/routes/[lang=lang]/+page.svelte43
1 files changed, 39 insertions, 4 deletions
diff --git a/src/routes/[lang=lang]/+page.svelte b/src/routes/[lang=lang]/+page.svelte
index f2028c6..0ab63ee 100644
--- a/src/routes/[lang=lang]/+page.svelte
+++ b/src/routes/[lang=lang]/+page.svelte
@@ -3,13 +3,48 @@
import Hero from "./sections/hero.svelte";
import Description from "./sections/description.svelte";
import Products from "./sections/products.svelte";
+ import LL from "$i18n/i18n-svelte";
import type { PageData } from "./$types";
export let data: PageData;
</script>
-<Hero model={data.hero} />
-<Description model={data.description} />
-<Contact model={data.contact} />
-<Products model={data.products} />
+<main>
+ <section id="hero">
+ <div class="hero">
+ <Hero model={data.hero} />
+ </div>
+ <div>
+ <Description model={data.description} />
+ </div>
+ </section>
+ <section>
+ <h3 class="mb-3">{$LL.ourServices()}</h3>
+ <Products model={data.products} />
+ </section>
+ <section>
+ <Contact model={data.contact} />
+ </section>
+</main>
+
+<style>
+ main {
+ margin: 0 5vw 2vh 5vw;
+ display: flex;
+ flex-direction: column;
+ }
+ main section {
+ margin-bottom: 2vh;
+ }
+
+ #hero {
+ display: grid;
+ grid-template-columns: repeat(2, 50%);
+ justify-content: space-between;
+ }
+
+ #hero .hero {
+ padding: 3.2vw;
+ }
+</style>